<template>
	<section> 
		<el-col :span="24" class="toolbar" style="padding-bottom: 0px;">
			<el-form :inline="true" > 
					<el-form-item style="float:left">
					<el-input v-model="name" placeholder="分站名称"></el-input>
				</el-form-item>
                  <el-form-item style="float:left">
					<el-input v-model="account" placeholder="开始时间" style="width:35%;"></el-input>-
                    <el-input v-model="account" placeholder="结束时间" style="width:35%;"></el-input>
				</el-form-item>
                 
				<el-form-item  style="float:left">
					<el-button type="primary" @click="getUser">搜索</el-button> 
					<el-button type="primary" @click="daochu">导出表格</el-button> 
				</el-form-item>
			</el-form>
		</el-col>

		<!--列表-->
		<template>
			<el-table :data="users" highlight-current-row  style="width: 100%;">
				<el-table-column type="index" width="60">
				</el-table-column>
				<el-table-column prop="name" label="日期" width="80" sortable>
				</el-table-column>
				<el-table-column prop="sex" label="总订单数" width="100" :formatter="formatSex" sortable>
				</el-table-column>
				<el-table-column prop="age" label="总包裹数" width="100" sortable>
				</el-table-column>
				<el-table-column prop="birth" label="新增注册" width="80" sortable>
				</el-table-column>
				<el-table-column prop="addr" label="下单用户" min-width="80" sortable>
				</el-table-column>
                <el-table-column prop="addr" label="分站奖金" min-width="80" sortable>
				</el-table-column>
                <el-table-column prop="birth" label="分站累计奖金" width="120" sortable>
				</el-table-column>
				<el-table-column prop="addr" label="分站收益" min-width="80" sortable>
				</el-table-column>
                <el-table-column prop="addr" label="分站累计收益" min-width="120" sortable>
				</el-table-column>
				<el-table-column  label="操作"  width="80">
      <template slot-scope="scope"> 
        <el-button @click="handleClick(scope.row)" type="text" size="small">订单详情</el-button>
     
      </template>
    </el-table-column>
			</el-table>
		</template>

	</section>
</template>
 